package uk.org.aspellclark.gedcom.model.records;

import java.util.List;

import uk.org.aspellclark.gedcom.model.ChangeDate;
import uk.org.aspellclark.gedcom.model.structures.AddressStructure;
import uk.org.aspellclark.gedcom.model.structures.MultimediaLink;
import uk.org.aspellclark.gedcom.model.structures.NoteStructure;

/** <pre>SUBMITTER_RECORD:=
    n @&lt;XREF:SUBM>@ SUBM                  {1:1}
        +1 NAME &lt;SUBMITTER_NAME>          {1:1}
        +1 &lt;&lt;ADDRESS_STRUCTURE>>          {0:1}*
        +1 &lt;&lt;MULTIMEDIA_LINK>>            {0:M}
        +1 LANG &lt;LANGUAGE_PREFERENCE>     {0:3}
        +1 RFN &lt;SUBMITTER_REGISTERED_RFN> {0:1}
        +1 RIN &lt;AUTOMATED_RECORD_ID>      {0:1}
        +1 &lt;&lt;NOTE_STRUCTURE>>             {0:M}
        +1 &lt;&lt;CHANGE_DATE>>                {0:1}
</pre>
The submitter record identifies an individual or organization that contributed information contained
in the GEDCOM transmission. All records in the transmission are assumed to be submitted by the
SUBMITTER referenced in the HEADer, unless a SUBMitter reference inside a specific record
points at a different SUBMITTER record.
<p>
* Note: submissions to the ancestral file require the name and address of the submitter.
 */
public class SubmitterRecord extends GedcomRecord {
	public String name;
	public AddressStructure address;
	public List<MultimediaLink> multimediaLink;
	public String lang;
	public String rfn;
	public String rin;
	public List<NoteStructure> note;
	public ChangeDate changeDate;

	/**
	 * @param idFromString
	 */
	public SubmitterRecord(String idFromString) {
		this.xref = idFromString;
	}

}
